import request from '@/utils/request'

// 获取最新公告
export function getLatestAnnouncement() {
  return request({
    url: '/api/announcements',
    method: 'get',
    params: {
      status: 1,
      limit: 1,
      order: 'created_at desc'
    }
  })
} 